package org.darkforest.common.services.impl;

import org.darkforest.common.services.LogService;
import org.darkforest.dao.mapper.AdminLogMapper;
import org.darkforest.model.AdminLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by huayunsky on 1/13/2016.
 */
@Service
public class LogServiceImpl implements LogService {

    @Autowired
   private AdminLogMapper adminLogMapper;

    @Override
    public int insert(AdminLog record) {
        return adminLogMapper.insert(record);
    }
}
